<template>
	<view>

		<!-- 热榜商品 -->
		<view class="hot-goods flex justify-start align-center" v-for="(item,index) in 6" :key="index">
			
			<!-- <image class="icons" src="/static/store/pintuan.png"></image> -->
			<view class="goods-pic flex align-center justify-center">
				<image class="pic" mode="aspectFill" src="/static/test/rb.jpeg"></image>
			</view>
			<view class="goods-text">
				
				<view class="text1 over-text2">
					这个是拼团商品的标题，需要测试一下长度之类的东西还有自提大小之类的
				</view>
				<view class="text2 flex align-center justify-between">
					<!-- <text class="item1">
						3-4人团
					</text>
					<text class="item2">
						￥750
					</text> -->
				</view>
				<view class="text3 flex align-center justify-center">
					
					<view class="tab-text flex align-center justify-between">
						<view class="item1">
							621人已参团
						</view>
						<view class="item2 flex align-center justify-center">
							去开团
							<image class="img w20 h28" src="/static/store/jiantou.png"></image>
						</view>
					</view>
					
					<image class="icon" src="/static/store/xingxing-check.png"></image>
				</view>
			</view>
			
		</view>


	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style lang="scss">
	.hot-goods {
		width: 750rpx;
		padding: 0 32rpx;
		margin-top: 16rpx;
		
		.goods-pic{
			width:220rpx;
			height:220rpx;
			.pic{
				width:220rpx;
				height:220rpx;
				border-radius: 16rpx;
			}
		}
		.goods-text{
			width:466rpx;
			height:260rpx;
			padding-top: 20rpx;
			padding-left:24rpx;
			.text1{
				width:100%;
				height:100rpx;
				line-height: 50rpx;
				font-size: 30rpx;
			}
			.text2{
				width:100%;
				height:70rpx;
				line-height: 70rpx;
				padding:0 20rpx;
				text{
					display: inline-block;
					flex:1;
				}
				.item1{
					
				}
				.item2{
					text-align: center;
					font-size: 30rpx;
					color:#fc2b25;
				}
			}
			.text3{
				.tab-text{
					width:80%;
					height:60rpx;
					border:1rpx solid #ddd;
					border-radius: 16rpx;
					.item1{
						flex:1;
						text-align: center;
						font-size: 24rpx;
						color: gray;
					}
					.item2{
						width:160rpx;
						height:60rpx;
						background-color: pink;
						color:white;
						border-radius: 16rpx;
						.img{
							margin-left:12rpx;
						}
					}
				}
				
				.icon{
					width:60rpx;
					height:60rpx;
					margin-left:16rpx;
				}
				
				
				
				
			}
		}
	}
</style>
